
import service from "../request.js";

export function deleteRecordById(id) {
  return service({
    method: "get",
    url: `/count/delete/${id}`,
  });
}
export function updateRecord(query) {
    return service({
      method: "post",
      url: "/count/update",
      data: query,
    });
  }
export function searchRecord(query) {
    return service({
      method: "post",
      url: "/count/search",
      data: query,
    });
}

